package com.dynabook.ems.model.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * 料件基本资料查询请求
 * @author tester
 */
@Data
@ApiModel(value = "料件基本资料查询请求", description = "用于按PN料号查询料件基本资料的请求参数")
public class MaterialInfoRequest implements Serializable {
    
    private static final long serialVersionUID = 1L;
    
    /**
     * PN料号
     */
    @ApiModelProperty(value = "PN料号", example = "123456", required = true)
    @NotBlank(message = "PN料号不能为空")
    private String pn;
}

